package com.sharp.kernel.mybatis.repository.inf;

import tk.mybatis.mapper.entity.Example;

/**
 * Title: SqlDeleteRepository
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2022/6/8 15:52
 */
public interface SqlDeleteRepository<T> {

    int deleteByPrimaryKey(Object primaryKey);

    int delete(T entity);

    int delete(Example example);

    int disableByPrimaryKey(Object primaryKey);

    int disable(T entity);

    int disable(Example example);


}
